//
//  NSWLMFooterView.m
//  Meboo
//
//  Created by kyo on 2024/5/27.
//

#import "NSWLMFooterView.h"
@interface NSWLMFooterView ()
//标题
@property (nonatomic, strong) UILabel *titleLab;
@end

@implementation NSWLMFooterView

#pragma mark - Life Cycle
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self setupUI];
    }
    return self;
}

#pragma mark - UI
- (void)setupUI {
    
    self.backgroundColor = UIColor.clearColor;
    
    [self addSubview:self.titleLab];
    [self.titleLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self);
        make.left.mas_equalTo(MBWidthScale(16));
    }];
}

#pragma mark - Setter && Getter

- (UILabel *)titleLab {
    if (!_titleLab) {
        _titleLab = [[UILabel alloc] init];
        _titleLab.numberOfLines = 0;
        _titleLab.text = @"If you don't unlock it, the Who Likes Me card will expire in 3 days";
        _titleLab.font = MBHelFontSizeScale(12);
        _titleLab.textColor = HEXS(@"666666");
    }
    return _titleLab;
}

@end
